4260b52e6d1080f65ec022db0be2157adc6ab973,esttst/src/test/java/org/bouncycastle/pkix/est/TestEnroll.java,TestEnroll,testEnrollUsingTLSClientAuthAndBasicAuthP,#,264

Before Change


            //
            // Keystore with client certificate.
            //
            .withClientKeystore(clientKeyStore)
            .withClientKeystorePassword(clientKeyStorePass)
            .withTlsTrustAnchors(Collections.singleton(ta)).build();


            PKCS10CertificationRequestBuilder pkcs10Builder = new JcaPKCS10CertificationRequestBuilder(new X500Name("CN=Test"), enrollmentPair.getPublic());

After Change


                    )
                ), null);

            ESTService est = new ESTServiceBuilder(Collections.singleton(ta), "https://localhost:8443/.well-known/est/")

                //
                // Keystore with client certificate.
                //
                .withClientKeystore(clientKeyStore)
                .withClientKeystorePassword(clientKeyStorePass).build();


            PKCS10CertificationRequestBuilder pkcs10Builder = new JcaPKCS10CertificationRequestBuilder(new X500Name("CN=Test"), enrollmentPair.getPublic());